﻿<%@ page title="Home Page" language="C#" masterpagefile="~/Site.master" autoeventwireup="true" inherits="_Default, App_Web_lbpjnj41" %>

<asp:Content ID="Content2" ContentPlaceHolderID="Stylesheet" Runat="Server">
    <link href="Styles/Dashboard.css" rel="stylesheet" type="text/css" />
    <link href="Styles/ResetFont.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SubNavigation" Runat="Server">
    <ul>
    <li class="first">
        <asp:HyperLink ID="lnkOverview" NavigateUrl="~/default.aspx" runat="server">Overview</asp:HyperLink>
    </li>
    <li class="middle">
        <asp:HyperLink ID="lnkAccountInformation" NavigateUrl="~/account/default.aspx" runat="server">Account Information</asp:HyperLink>
    </li>
    <li  class="last">
        <asp:HyperLink ID="HyperLink1" NavigateUrl="~/devices/default.aspx" runat="server">Devices</asp:HyperLink>
    </li>
</ul>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="PageHeader" Runat="Server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="MainContent" Runat="Server">
    <div id="dashboardContent">
    <table class="dashboard">
        <tr>
            <td class="column first">
                <div class="panel">
                    <h3>Billing Overview</h3>
                    <div class="panelContents">
                        <table cellspacing="0" cellpadding="0">
                            <tr>
                                <td>Your next charge:</td>
                                <td><asp:Label ID="lblNextCharge" runat="server"></asp:Label></td>
                            </tr>
                            <tr>
                                <td>Your current rate:</td>
                                <td><asp:Label ID="lblCurrentRate" runat="server"></asp:Label></td>
                            </tr>
                            <tr>
                                <td>Your current referrals:</td>
                                <td><asp:Label ID="lblCurrentReferrals" runat="server"></asp:Label></td>
                            </tr>
                        </table>
                        <br />
                        <p class="details">
                            <asp:HyperLink NavigateUrl="~/billing/accountBilling.aspx" runat="server">Details</asp:HyperLink> | <asp:HyperLink NavigateUrl="~/billing/history.aspx" runat="server">History</asp:HyperLink> 
                        </p>
                    </div>
                </div>
                <div class="panel">
                    <h3>Bandwidth Overview</h3>
                    <div class="panelContents">
                        <table cellspacing="0" cellpadding="0">
                            <tr>
                                <td>Volume Allocation:</td>
                                <td><asp:Label ID="lblVolumeAllocation" runat="server"></asp:Label></td>
                            </tr>
                            <tr>
                                <td>Volume Used This Month:</td>
                                <td><asp:Label ID="lblVolumeUsed" runat="server"></asp:Label></td>
                            </tr>
                            <tr>
                                <td>Estimated Volume Use for the Month:</td>
                                <td><asp:Label ID="lblEstimatedVolume" runat="server"></asp:Label></td>
                            </tr>
                            <tr>
                                <td>Throughput Quota:</td>
                                <td><asp:Label ID="lblThroughputQuota" runat="server"></asp:Label></td>
                            </tr>
                            <tr>
                                <td>Throughput 95th Percentile:</td>
                                <td><asp:Label ID="lblThroughput95thPercentile" runat="server"></asp:Label></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </td>
            <td class="column middle">
                <div class="panel">
                    <h3>Company Overview</h3>
                    <div class="panelContents">
                        <asp:Literal ID="litCompanyOverview" runat="server"></asp:Literal>
                        <br />
                        <asp:HyperLink ID="lnkAccountInfo" NavigateUrl="~/account/default.aspx" runat="server">Details</asp:HyperLink>
                    </div>
                </div>
                <div class="panel">
                    <h3>About You</h3>
                    <div class="panelContents">
                        <asp:Literal ID="litAboutYou" runat="server"></asp:Literal>
                        <br />
                        <asp:HyperLink ID="HyperLink2" NavigateUrl="~/users/default.aspx" runat="server">Details</asp:HyperLink> | 
                        <asp:HyperLink ID="HyperLink3" NavigateUrl="~/Account/changePassword.aspx" 
                            runat="server">Change Password</asp:HyperLink>
                    </div>
                </div>
                <div class="panel">
                    <h3>People</h3>
                    <div class="panelContents">
                        <asp:DataList ID="lstPepole" runat="server">
                            <ItemTemplate>
                                <div class="bold"><%#Eval("Name")%></div>
                                <div><%#Eval("Email")%></div>
                             </ItemTemplate>
                        </asp:DataList>
                        <br />
                        <asp:HyperLink ID="HyperLink4" NavigateUrl="~/users/default.aspx" runat="server">Users</asp:HyperLink> | <asp:HyperLink ID="HyperLink5" NavigateUrl="~/users/addUser.aspx" runat="server">Add User</asp:HyperLink>
                    </div>
                </div>
            </td>
            <td class="column last">
                <div class="panel">
                    <h3>Device Overview</h3>
                    <div class="panelContents">
                        <asp:Repeater ID="lstDevices" runat="server">
                            <HeaderTemplate>
                                <table cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <th>Device</th>
                                        <th>Friendly Name</th>
                                    </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr>
                                    <td><asp:HyperLink ID="HyperLink4" NavigateUrl="~/devices/device.aspx" runat="server"><%#Eval("Code")%></asp:HyperLink></td>
                                    <td><%#Eval("Name")%></td>
                                </tr>                                
                             </ItemTemplate>
                             <FooterTemplate>
                                </table>
                             </FooterTemplate>
                        </asp:Repeater>
                        <br />
                        <asp:HyperLink ID="HyperLink6" NavigateUrl="~/devices/default.aspx" runat="server">Details</asp:HyperLink> | <asp:HyperLink ID="HyperLink7" NavigateUrl="~/devices/adddevice.aspx" runat="server">Add Cloud Server</asp:HyperLink>
                    </div>
                </div>
                <!--
                <div class="panel">
                    <h3>Recent Notifications</h3>
                    <div class="panelContents">
                    </div>
                </div>
                -->
            </td>
        </tr>
    </table>
</div>
</asp:Content>